package com.sven.idrivingfutureserver.exception;


import com.sven.idrivingfutureserver.common.ResultCode;

public class RestException extends BaseException {
    private static final long serialVersionUID = 4195631691136432289L;

    Object errorData;

    public RestException(ResultCode resultCode, Object errorData) {
        super(resultCode);
        this.errorData = errorData;
    }
}
